const Service = require('egg').Service;
class TestService extends Service {


  async create(data) {
    const model = await this.ctx.model.Tests.create(data);
    await model.save();

    return {
      code: 200,
      data: model,
    };
  }


}

module.exports = TestService;
